.container {
  padding: 24px;
}

.header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.searchContainer {
  position: relative;
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-2px);
  }
}

.searchInput {
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(45deg, #1890ff, #69c0ff) border-box;
  
  &:hover, &:focus {
    box-shadow: 0 6px 16px rgba(24, 144, 255, 0.15);
    transform: translateY(-2px);
  }
}

.fileList {
  margin-bottom: 24px;
}

.fileCard {
  margin-bottom: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.15);
    border-color: rgba(24, 144, 255, 0.3);
  }
}

.fileIcon {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  
  img {
    width: 72px;
    height: 72px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(24, 144, 255, 0.2));
  }
  
  &:hover img {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 6px 12px rgba(24, 144, 255, 0.3));
  }
}

.fileInfo {
  text-align: center;
  padding: 0 16px 20px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(249, 249, 249, 0.8));
  position: relative;
  z-index: 1;
  
  &::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(249, 249, 249, 0.4));
    z-index: -1;
  }
}

.fileName {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #262626;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  position: relative;
  display: inline-block;
  padding: 0 5px;
  
  &::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #1890ff;
    transition: all 0.3s ease;
  }
  
  .fileCard:hover &::after {
    width: 100%;
    left: 0;
  }
}

.fileId {
  color: #8c8c8c;
  font-size: 13px;
  margin-bottom: 8px;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 3px 10px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  
  .fileCard:hover & {
    background: rgba(24, 144, 255, 0.08);
    color: #1890ff;
  }
}

.fileType {
  color: #1890ff;
  font-size: 14px;
  font-weight: 500;
  background: rgba(24, 144, 255, 0.1);
  border-radius: 12px;
  padding: 3px 10px;
  display: inline-block;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.cardActions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(4px);
  
  button {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 4px 12px;
    
    &:hover {
      transform: scale(1.1);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    span[role="img"] {
      margin-right: 4px;
      font-size: 16px;
    }
  }
}